package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCategory;
import com.cskaoyan.market.vo.CategoryLevelVo;
import com.cskaoyan.market.vo.MarketCategoryVo;

import java.util.List;

public interface MarketCategoryService {

    List<CategoryLevelVo> l1();

    List<MarketCategoryVo> list();

    boolean delete(Integer id);

    MarketCategory create(MarketCategory category);

    MarketCategory update(Integer id, String name, String desc, String level, String picUrl, String iconUrl, String keywords,String addTime,String updateTime);
}
